export const deleteJsonfromarray = (jsonarray,id) =>{
    for(var i=0;i<jsonarray.length;i++){
        if (jsonarray[i].id === id){//item.id==122
            jsonarray.splice(i,1)
　　 } 
}
}